chore(deps): update dependency eslint-plugin-better-tailwindcss to v4 #506
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^3.7.10→^4.0.0Release Notes
schoero/eslint-plugin-better-tailwindcss (eslint-plugin-better-tailwindcss)
v4.0.2Compare Source
compare changes
Fixes
enforce-canonical-classes: removal of unrelated classes (#309)enforce-consistent-variable-syntax: Support custom css functions (#308)v4.0.1Compare Source
compare changes
Fixes
❤️ Contributors
v4.0.0Compare Source
compare changes
This version includes a major rewrite of the internal architecture, improving performance and maintainability, resolving long-standing issues, and preparing the codebase for the future and for oxlint.
New Features
enforce-canonical-classes(#232)enforce-consistent-class-orderto sort "component classes" and "unknown classes" (#263)detectComponentClasses:booleancomponentClassOrder:"asc" | "desc" | "preserve"componentClassPosition:"start" | "end"unknownClassOrder:"asc" | "desc" | "preserve"unknownClassPosition:"start" | "end"strictness: "loose"option toenforce-consistent-line-wrappingto improve interoperability with prettier (#260)First of all, the minimum required Node.js version is has changed to support v23.0.0, v22.12.0, v20.19.0 to support
require(esm)CommonJSbuild (#264)Some rules have been renamed to better reflect their intentions:
no-unregistered-classestono-unknown-classessort-classestoenforce-consistent-class-ordermultilinetoenforce-consistent-line-wrappingThe rule recommendations have been updated to enable new rules by default. Check the updated rule recommendations for more information.
For some rules, the options have been renamed or changed:
better-tailwindcss/enforce-consistent-variable-syntaxhave been renamed toshorthandandvariable.enforce-consistent-important-positionis now alwaysrecommended.improvedsorting order forenforce-consistent-class-ordertostrict(#245)improvedis no longer the default option as most people expect the order to match the official order from tailwind.improvedorder got renamed tostrictto better describe its intentions.strictorder has changed:enforce-consistent-line-wrappingrule now groups variants more strictly. Previously it only grouped classes by their first variant. Now all variants are ordered correctly.The configs have been renamed and updated to match the recommended shape of ESLint.
recommendedrecommended-warnrecommended-errorstylisticstylistic-warnstylistic-errorcorrectnesscorrectness-warncorrectness-errorlegacy-recommendedlegacy-recommended-warnlegacy-recommended-errorlegacy-stylisticlegacy-stylistic-warnlegacy-stylistic-errorlegacy-correctnesslegacy-correctness-warnlegacy-correctness-errorOther changes:
getDefaultIgnoredUnregisteredClasses()has been removed.Here is the full list of changes in this version:
Features
enforce-canonical-classes(#232)strictness: "loose"option toenforce-consistent-line-wrapping(#260)messageStyle(#276)Fixes
Refactors
/api/path for imports (#281)Documentation
detectComponentClassesto settings (388103e)CommonJSbuild (#264)Minimum Node.js version to v23.0.0, v22.12.0, v20.19.0 to support
require(esm)improvedsorting order tostrict(#245)no-unregistered-classestono-unknown-classessort-classestoenforce-consistent-class-ordermultilinetoenforce-consistent-line-wrappingbetter-tailwindcss/enforce-consistent-variable-syntaxhave been renamed toshorthandandvariable.getDefaultIgnoredUnregisteredClasses()has been removed.enforce-consistent-important-positionis now alwaysrecommended. If you are on tailwindcss v3 need to manually set it tolegacyto keep it working for tailwindcss v3.❤️ Contributors
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.